package com.management.demo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "添加/修改权限参数")
public class MenuDTO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "权限名称")
    private String name;

    @Schema(description = "权限值")
    private String acl;

    @Schema(description = "上级id")
    private Integer parentId;

    @Schema(description = "层级")
    private Integer level;
}
